package com.hbpa.form;

import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;

public class XlsUploadForm extends ActionForm { 
	private FormFile file;
	
	public FormFile getFile() {
		return file;
	}
	public void setFile(FormFile file) {
		this.file = file;
	}
	 
	
	public String getFileName()
	{
		return this.file.getFileName();
	}
	
	public int getFileSize()
	{
		return this.file.getFileSize();
	}
	
	public byte[] getFileData() throws Exception
	{
		return this.file.getFileData();
	}
}
